package eip.chapter8.expiration;

import java.io.Serializable;

public class RestaurantResponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7522343661961986789L;
	private String restaurant;
	private String description;
	private String response;
	
	public RestaurantResponse() {
	}

	public RestaurantResponse(String restaurant, String description, String response) {
		this.restaurant = restaurant;
		this.description = description;
		this.response = response;
	}

	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getResponse() {
		return response;
	}
	
	public void setResponse(String response) {
		this.response = response;
	}
	
	public String getRestaurant() {
		return restaurant;
	}
	
	public void setRestaurant(String restaurant) {
		this.restaurant = restaurant;
	}

	/**
	 * Constructs a <code>String</code> with all attributes
	 * in name = value format.
	 *
	 * @return a <code>String</code> representation 
	 * of this object.
	 */
	public String toString()
	{
	    final String TAB = "    ";
	    
	    String retValue = "";
	    
	    retValue = "RestaurantResponse ( "
	        + super.toString() + TAB
	        + "restaurant = " + this.restaurant + TAB
	        + "description = " + this.description + TAB
	        + "response = " + this.response + TAB
	        + " )";
	    
	    return retValue;
	}
	
	
	
}
